project(HumanDetectionUsingDepth)

set(CMAKE_CXX_STANDARD 11)
set(OpenCV_DIR /opencv_dir/)
find_package(OpenCV REQUIRED)

include_directories(include)

file(GLOB detect_srcs src/*.cpp)
add_library(detectors ${detect_srcs})
target_link_libraries(detectors ${OpenCV_LIBS})

add_executable(trainer trainer.cpp)
target_link_libraries(trainer detectors ${OpenCV_LIBS})

add_executable(tester detector.cpp)
target_link_libraries(tester detectors ${OpenCV_LIBS})
